package com.cloud.neo4j.business.neo4j.car.entity;

import com.cloud.neo4j.business.neo4j.car.entity.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;
import org.springframework.data.neo4j.core.schema.Relationship;

import java.util.List;

/**
 * @author jsd12
 */
@Node("Movie")
@Data
public class MovieEntity extends BaseEntity {

    /**电影标题*/
    @Property
    private String title;
    /**出版年份*/
    @Property
    private Integer released;
    /**宣传语*/
    @Property
    private String tagline;
}
